
Class('chartwindow', 'linb.Com',{
    Instance:{
        //base Class for this com
        base:["linb.UI"], 
        //requried class for this com
        required:["linb.UI.Dialog", "linb.UI.Image", "linb.UI.Pane"], 

        properties:{}, 
        events:{}, 
        cwself:null, 
        iniResource:function(com, threadid){
        }, 
        iniComponents:function(){
            // [[code created by jsLinb UI Builder
            var host=this, children=[], append=function(child){children.push(child.get(0))};
            
            append((new linb.UI.Dialog)
                .host(host,"dlgchart")
                .setLeft(103)
                .setTop(27)
                .setWidth(782)
                .setHeight(537)
                .setPosition("relative")
                .setCaption("查看详图")
                .onRender("_dialog1_onrender")
            );
            
            host.dlgchart.append((new linb.UI.Pane)
                .host(host,"pane11")
                .setDock("fill")
            );
            
            host.pane11.append((new linb.UI.Image)
                .host(host,"image5")
                .setLeft(40)
                .setTop(50)
                .setWidth(700)
                .setHeight(390)
            );
            
            return children;
            // ]]code created by jsLinb UI Builder
        }, 
        iniExComs:function(com, hreadid){
        }, 
        setImageSrc:function(fullimage) {
            cwself.image5.setSrc(fullimage);
        }, 
        _dialog1_onrender:function (profile) {
            cwself = this;
        }
    }
});